<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>过渡动画类型</title>
    <style>
        ul{
            list-style: none;
        }
        li{
            width: 200px;
            height: 50px;
            border:1px solid gray;
        }
        ul:hover li:nth-child(1){
            width: 600px;
            transition: all 2s linear;
        }
        ul:hover li:nth-child(2){
            width: 600px;
            transition: all 2s ease;
        }
        ul:hover li:nth-child(3){
            width: 600px;
            transition: all 2s ease-in;
        }
        ul:hover li:nth-child(4){
            width: 600px;
            transition: all 2s ease-out;
        }
        ul:hover li:nth-child(5){
            width: 600px;
            transition: all 2s ease-in-out;
        }
        ul:hover li:nth-child(6){
            width: 600px;
            transition: all 2s cubic-bezier(0.19, -0.32, 0.30, 1.34);
        }
    </style>
</head>
<body>
    <ul>
        <li></li>
        <li></li>
        <li></li>
        <li></li>
        <li></li>
        <li></li>
    </ul>
</body>
</html>